package com.ebook.database.dao;

import com.ebook.entity.Book;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public interface BookDao {
    List<Book> selectAll();
    List<Book> selectBookByName(String book_name);
    Book selectBookById(Integer book_id);
    List<Book> selectBookByIsCharge(boolean charge);
    List<Book> selectBookByCategoryId(Integer category_id);
}
